<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>动画过渡单一属性</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            background: yellow;
            transition-duration: 2s;
            transition-delay: 1s;
            transition-timing-function: linear;
            transition-property: width;
        }
        div:hover{
            width: 600px;
            height: 600px;
            background: red;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>